﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200076B RID: 1899
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetMultiPathAvatarInfoScRsp : IMessage<GetMultiPathAvatarInfoScRsp>, IMessage, IEquatable<GetMultiPathAvatarInfoScRsp>, IDeepCloneable<GetMultiPathAvatarInfoScRsp>, IBufferMessage
	{
		// Token: 0x17001845 RID: 6213
		// (get) Token: 0x0600555D RID: 21853 RVA: 0x000E6FBA File Offset: 0x000E51BA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetMultiPathAvatarInfoScRsp> Parser
		{
			get
			{
				return GetMultiPathAvatarInfoScRsp._parser;
			}
		}

		// Token: 0x17001846 RID: 6214
		// (get) Token: 0x0600555E RID: 21854 RVA: 0x000E6FC1 File Offset: 0x000E51C1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetMultiPathAvatarInfoScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001847 RID: 6215
		// (get) Token: 0x0600555F RID: 21855 RVA: 0x000E6FD3 File Offset: 0x000E51D3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetMultiPathAvatarInfoScRsp.Descriptor;
			}
		}

		// Token: 0x06005560 RID: 21856 RVA: 0x000E6FDA File Offset: 0x000E51DA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetMultiPathAvatarInfoScRsp()
		{
		}

		// Token: 0x06005561 RID: 21857 RVA: 0x000E7004 File Offset: 0x000E5204
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetMultiPathAvatarInfoScRsp(GetMultiPathAvatarInfoScRsp other) : this()
		{
			this.basicTypeIdList_ = other.basicTypeIdList_.Clone();
			this.multiPathAvatarInfoList_ = other.multiPathAvatarInfoList_.Clone();
			this.retcode_ = other.retcode_;
			this.curAvatarPath_ = other.curAvatarPath_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06005562 RID: 21858 RVA: 0x000E7067 File Offset: 0x000E5267
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetMultiPathAvatarInfoScRsp Clone()
		{
			return new GetMultiPathAvatarInfoScRsp(this);
		}

		// Token: 0x17001848 RID: 6216
		// (get) Token: 0x06005563 RID: 21859 RVA: 0x000E706F File Offset: 0x000E526F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> BasicTypeIdList
		{
			get
			{
				return this.basicTypeIdList_;
			}
		}

		// Token: 0x17001849 RID: 6217
		// (get) Token: 0x06005564 RID: 21860 RVA: 0x000E7077 File Offset: 0x000E5277
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<MultiPathAvatarInfo> MultiPathAvatarInfoList
		{
			get
			{
				return this.multiPathAvatarInfoList_;
			}
		}

		// Token: 0x1700184A RID: 6218
		// (get) Token: 0x06005565 RID: 21861 RVA: 0x000E707F File Offset: 0x000E527F
		// (set) Token: 0x06005566 RID: 21862 RVA: 0x000E7087 File Offset: 0x000E5287
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x1700184B RID: 6219
		// (get) Token: 0x06005567 RID: 21863 RVA: 0x000E7090 File Offset: 0x000E5290
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MapField<uint, MultiPathAvatarType> CurAvatarPath
		{
			get
			{
				return this.curAvatarPath_;
			}
		}

		// Token: 0x06005568 RID: 21864 RVA: 0x000E7098 File Offset: 0x000E5298
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetMultiPathAvatarInfoScRsp);
		}

		// Token: 0x06005569 RID: 21865 RVA: 0x000E70A8 File Offset: 0x000E52A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetMultiPathAvatarInfoScRsp other)
		{
			return other != null && (other == this || (this.basicTypeIdList_.Equals(other.basicTypeIdList_) && this.multiPathAvatarInfoList_.Equals(other.multiPathAvatarInfoList_) && this.Retcode == other.Retcode && this.CurAvatarPath.Equals(other.CurAvatarPath) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600556A RID: 21866 RVA: 0x000E7120 File Offset: 0x000E5320
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.basicTypeIdList_.GetHashCode();
			num ^= this.multiPathAvatarInfoList_.GetHashCode();
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			num ^= this.CurAvatarPath.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600556B RID: 21867 RVA: 0x000E7189 File Offset: 0x000E5389
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600556C RID: 21868 RVA: 0x000E7191 File Offset: 0x000E5391
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600556D RID: 21869 RVA: 0x000E719C File Offset: 0x000E539C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.basicTypeIdList_.WriteTo(ref output, GetMultiPathAvatarInfoScRsp._repeated_basicTypeIdList_codec);
			this.multiPathAvatarInfoList_.WriteTo(ref output, GetMultiPathAvatarInfoScRsp._repeated_multiPathAvatarInfoList_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.Retcode);
			}
			this.curAvatarPath_.WriteTo(ref output, GetMultiPathAvatarInfoScRsp._map_curAvatarPath_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600556E RID: 21870 RVA: 0x000E720C File Offset: 0x000E540C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.basicTypeIdList_.CalculateSize(GetMultiPathAvatarInfoScRsp._repeated_basicTypeIdList_codec);
			num += this.multiPathAvatarInfoList_.CalculateSize(GetMultiPathAvatarInfoScRsp._repeated_multiPathAvatarInfoList_codec);
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			num += this.curAvatarPath_.CalculateSize(GetMultiPathAvatarInfoScRsp._map_curAvatarPath_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600556F RID: 21871 RVA: 0x000E7284 File Offset: 0x000E5484
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetMultiPathAvatarInfoScRsp other)
		{
			if (other == null)
			{
				return;
			}
			this.basicTypeIdList_.Add(other.basicTypeIdList_);
			this.multiPathAvatarInfoList_.Add(other.multiPathAvatarInfoList_);
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this.curAvatarPath_.MergeFrom(other.curAvatarPath_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06005570 RID: 21872 RVA: 0x000E72F3 File Offset: 0x000E54F3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06005571 RID: 21873 RVA: 0x000E72FC File Offset: 0x000E54FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 10U)
				{
					if (num == 8U || num == 10U)
					{
						this.basicTypeIdList_.AddEntriesFrom(ref input, GetMultiPathAvatarInfoScRsp._repeated_basicTypeIdList_codec);
						continue;
					}
				}
				else
				{
					if (num == 34U)
					{
						this.multiPathAvatarInfoList_.AddEntriesFrom(ref input, GetMultiPathAvatarInfoScRsp._repeated_multiPathAvatarInfoList_codec);
						continue;
					}
					if (num == 64U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
					if (num == 106U)
					{
						this.curAvatarPath_.AddEntriesFrom(ref input, GetMultiPathAvatarInfoScRsp._map_curAvatarPath_codec);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x0400215D RID: 8541
		private static readonly MessageParser<GetMultiPathAvatarInfoScRsp> _parser = new MessageParser<GetMultiPathAvatarInfoScRsp>(() => new GetMultiPathAvatarInfoScRsp());

		// Token: 0x0400215E RID: 8542
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400215F RID: 8543
		public const int BasicTypeIdListFieldNumber = 1;

		// Token: 0x04002160 RID: 8544
		private static readonly FieldCodec<uint> _repeated_basicTypeIdList_codec = FieldCodec.ForUInt32(10U);

		// Token: 0x04002161 RID: 8545
		private readonly RepeatedField<uint> basicTypeIdList_ = new RepeatedField<uint>();

		// Token: 0x04002162 RID: 8546
		public const int MultiPathAvatarInfoListFieldNumber = 4;

		// Token: 0x04002163 RID: 8547
		private static readonly FieldCodec<MultiPathAvatarInfo> _repeated_multiPathAvatarInfoList_codec = FieldCodec.ForMessage<MultiPathAvatarInfo>(34U, MultiPathAvatarInfo.Parser);

		// Token: 0x04002164 RID: 8548
		private readonly RepeatedField<MultiPathAvatarInfo> multiPathAvatarInfoList_ = new RepeatedField<MultiPathAvatarInfo>();

		// Token: 0x04002165 RID: 8549
		public const int RetcodeFieldNumber = 8;

		// Token: 0x04002166 RID: 8550
		private uint retcode_;

		// Token: 0x04002167 RID: 8551
		public const int CurAvatarPathFieldNumber = 13;

		// Token: 0x04002168 RID: 8552
		private static readonly MapField<uint, MultiPathAvatarType>.Codec _map_curAvatarPath_codec = new MapField<uint, MultiPathAvatarType>.Codec(FieldCodec.ForUInt32(8U, 0U), FieldCodec.ForEnum<MultiPathAvatarType>(16U, (MultiPathAvatarType x) => (int)x, (int x) => (MultiPathAvatarType)x, MultiPathAvatarType.None), 106U);

		// Token: 0x04002169 RID: 8553
		private readonly MapField<uint, MultiPathAvatarType> curAvatarPath_ = new MapField<uint, MultiPathAvatarType>();
	}
}
